[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 31 Fn 0100  P - DPMI 0.9+ - Allocate DOS Memory Block                  [E]

   AX = 0100h
   BX = number of paragraphs to allocate

Return: CF clear if successful
       AX = real mode segment of allocated block
       DX = first selector for allocated block
   CF set on error
       AX = DOS error code (07h,08h) (see INT 21/AH=59h)
        (DPMI 1.0+) DPMI error code (8011h) (see AX=0000h)
       BX = size (in paragraphs) of largest available block

Notes: multiple contiguous selectors are allocated for blocks of more than 64K
     if the caller is a 16-bit program
   never modify or deallocate returned descriptors
   not supported by MS Windows 3.0 in Standard mode

See Also: AX=0101h,AX=0501h

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson